package com.ai.mall.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 消息通知表
 * 
 * @author easue
 * @email sunlightcs@gmail.com
 * @date 2025-01-21 14:40:34
 */
@Data
@TableName("notifications")
public class NotificationsEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 通知ID
	 */
	@TableId
	private Integer notificationId;
	/**
	 * 用户ID
	 */
	private Integer userId;
	/**
	 * 消息内容
	 */
	private String message;
	/**
	 * 是否已读
	 */
	private Integer isRead;
	/**
	 * 创建时间
	 */
	private Date createdAt;

}
